package com.iweb.orderApp;
//订单信息
public class OrderSet {
    private  String usrname;//订餐人
    private  String dishname;//订餐菜品名
    private int dishNum;//份数
    private  int time;
    private  String addr;
    private int status;//0-未签收，1-已签收
    private double sumPrice;

    @Override
    public String toString() {
        return
                "姓名:" + usrname  +
                ",点菜:" + dishname  +
                ", 份数:" + dishNum +
                ", 预约时间:" + time +
                ", 地址:" + addr +
                ",状态:" + status +
                ", 总价:" + sumPrice;
    }

    public OrderSet(String usrname, String dishname, int dishNum, int time, String addr, int status, double sumPrice) {
        this.usrname = usrname;
        this.dishname = dishname;
        this.dishNum = dishNum;
        this.time = time;
        this.addr = addr;
        this.status = status;
        this.sumPrice = sumPrice;
    }

    public String getUsrname() {
        return usrname;
    }

    public void setUsrname(String usrname) {
        this.usrname = usrname;
    }

    public String getDishname() {
        return dishname;
    }

    public void setDishname(String dishname) {
        this.dishname = dishname;
    }

    public int getDishNum() {
        return dishNum;
    }

    public void setDishNum(int dishNum) {
        this.dishNum = dishNum;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public double getSumPrice() {
        return sumPrice;
    }

    public void setSumPrice(double sumPrice) {
        this.sumPrice = sumPrice;
    }

}
